/* 轮播图 */
#carousel-example-generic>.carousel-inner>.item>a.thumbnail {
    padding: 0;
    margin-bottom: 0;
}

#carousel-example-generic>.carousel-inner>.item>a>img {
    max-height: 150px;
}

@media screen and (min-width: 768px) {
    #carousel-example-generic>.carousel-inner>.item>a>img {
        max-height: 200px;
    }
}

@media screen and (min-width: 992px) {
    #carousel-example-generic>.carousel-inner>.item>a>img {
        max-height: 280px;
    }
}

@media screen and (min-width: 1200px) {
    #carousel-example-generic>.carousel-inner>.item>a>img {
        max-height: 380px;
    }
}

/* 内容区 */
.entry-content {
    font-size: 16px;
}

.entry-content>* {
    margin: 25px 0;
}

.entry-content>.tts {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: #fde6e0;
}

.entry-content>p.tts,
.entry-content>div.tts {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #dcd6d6;
    border-radius: 3px;
    background-color: #f9f2f4;
}

/* 代码高亮 */
pre.prettyprint {
    font-size: 13px;
}

pre.prettyprint>ol.linenums>li {
    list-style-type: decimal;
    /* white-space: pre-wrap; */
}

/* 社会化分享 */
.share-container {
    max-width: 600px;
    margin: 10px auto;
}

.share-container>.share-to,
.share-container>.share-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 3px;
    border-radius: 50%;
    position: relative;
}

.share-container>.share-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.share-container>.share-btn:hover {
    transform: scale(1.1);
    filter: alpha(opacity=90);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.share-container>.share-to>.share-icon,
.share-container>.share-btn>.share-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30%;
    margin-top: -30%;
    width: 60%;
    height: 60%;
}

.share-container>.wechat {
    background-color: #09bb07;
}

.share-container>.qq {
    background-color: #12b7f5;
}

.share-container>.weibo {
    background-color: #e6162d;
}

.share-container>.facebook {
    background-color: #1877f2;
}

.share-container>.twitter {
    background-color: #1da1f2;
}

.share-container>.linkedin {
    background-color: #0a66c2;
}

.share-container>.pinterest {
    background-color: #bd081c;
}

.share-container>.whatsapp {
    background-color: #25d366;
}

.share-container>.telegram {
    background-color: #2aabee;
}

.share-container>.email {
    background-color: #777;
}

.share-container>.share-btn>.share-icon>path {
    fill: #fff;
}

/* 加载动画 */
#loading {
    margin: 15px 0;
}

.icon-loading::before {
    content: '';
    display: inline-block;
    min-width: 16px;
    min-height: 16px;
}

.icon-loading::before,
.carousel .carousel-inner .item img,
.thumbnail img,
img.img-thumbnail {
    background: url('../images/loading.gif') center no-repeat;
}

.thumbnail img,
img.img-thumbnail {
    min-width: 64px;
    min-height: 64px;
}